package com.groupseven.happycampus.service;

import com.groupseven.happycampus.common.bo.MenuBo;
import com.groupseven.happycampus.common.pojo.LayuiPage;
import com.groupseven.happycampus.common.pojo.Menu;
import com.groupseven.happycampus.common.pojo.Restaurant_food;
import com.groupseven.happycampus.common.pojo.User;

import java.util.List;
import java.util.Map;

public interface CanteenService {


    LayuiPage<Menu> menuList(Map<String, String> params);

    int Pay(Integer userId, Integer[] menuId, Integer foodId, Integer out);
    int getallprice(Integer []menuId,Integer out);
    int removeById(int id);

    int updateMenu(Menu menu);

    int addMenu(Menu menu);

    int deleteAll(String idstr);

    int addMenus(List<Menu> list);

    List<MenuBo> MenuExcelData(Menu menu);

    LayuiPage<Restaurant_food> RfList(Map<String, String> params);

    int rfadd(Restaurant_food rf);

    List<Restaurant_food> rfTestList();
    List<Restaurant_food> rfTestList(Integer foodId);

    User ProvePayUser(Integer id,String paypassword);

    LayuiPage<Menu> menuList2(Map<String, String> params);
}
